package com.qidian.mes.qc.service;

import com.qidian.mes.pojo.Index;
import com.qidian.mes.util.pojo.MESResult;


public interface IndexService {

    MESResult queryById(Long indexId);

    //分页
    MESResult list(int page, int limit, Index index);

    //新增
    MESResult save(Index index);

    MESResult update(Index index);

    //删除
    MESResult deleteByIndexId(Long indexId);

    //批量删除
    MESResult deletesByIndexIds(Long [] indexId);


}
